export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  searchMenuPosition:'right',
  searchLabelWidth: 100,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  align: 'center',
  indexWidth: 100,
  indexLabel: '标本编号',
  // menu: false,
  labelWidth: 145,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "病人姓名",
      prop: "brName",
      type: "input",
      search: true,
      filterable: true,
      overHidden: true,
      rules: [{
        required: true,
        message: "请输入病人姓名",
        trigger: "blur"
      }],
    },
    // {
    //   label: "标本编号",
    //   prop: "bbNo",
    //   type: "input",
    //   search: true,
    // },
    {
      label: "病历号",
      prop: "caseNo",
      type: "input",
      search: true,
      filterable: true,
      overHidden: true,
      rules: [{
        required: true,
        message: "请输入病例号",
        trigger: "blur"
      }],
    },
    {
      label: "疾病种类",
      prop: "illness",
      search: true,
      type: 'tree',
      dicUrl: '/api/blade-illness/illness/tree',
      props: {
        label: 'title',
        value: 'id',
      },
      filterable: true,
      overHidden: true,
      rules: [{
        required: true,
        message: "请选择疾病种类",
        trigger: "blur"
      }],
    },
    {
      label: "标本类型",
      prop: "type",
      type: "input",
      search:true,
      filterable: true,
      overHidden: true,
      // rules: [{
      //   required: true,
      //   message: "请选择标本类型",
      //   trigger: "blur"
      // }],
    },
    {
      label: "标本源分类",
      prop: "bbyfl",
      type: "input",
      search:true,
      filterable: true,
      overHidden: true,
      // rules: [{
      //   required: true,
      //   message: "请选择标本源分类",
      //   trigger: "blur"
      // }],
    },
    {
      label: "标本源名称",
      prop: "bbymc",
      type: "input",
      search:true,
      filterable: true,
      overHidden: true,
    },
    {
      label: "标本分量",
      prop: "bbfl",
      min: 0,
      // max: 2,
      value:0,
      type: 'number',
      filterable: true,
      overHidden: true,
    },
    {
      label: "冻融次数",
      prop: "drcs",
      min: 0,
      value:0,
      type: 'number',
      filterable: true,
      overHidden: true,
    },
    {
      label: "标本状态",
      prop: "status",
      type: "select",
      dicUrl: '/api/blade-system/dict-biz/dictionary?code=specimen_status',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      },
      dataType: "number",
      addDisplay: true,
      search:true,
      filterable: true,
      overHidden: true,
    },
    {
      label: "采集时间",
      prop: "cjsj",
      type: "datetime",
      format: 'YYYY-MM-DD HH:mm:ss',
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      filterable: true,
      overHidden: true,
    },
    {
      label: "入库信息",
      prop: "rkxx",
      type: "input",
      filterable: true,
      overHidden: true,
      hide: true,
    },
    {
      label: "出库信息",
      prop: "ckxx",
      type: "input",
      filterable: true,
      overHidden: true,
      hide: true,
    },
    {
      label: "标本说明",
      prop: "bbsm",
      type: 'textarea',
      minRows: 3,
      maxRows: 5,
      filterable: true,
      overHidden: true,
      span: 24,
      hide: true,
    },
    {
      label: "备注",
      prop: "remark",
      type: 'textarea',
      minRows: 3,
      maxRows: 5,
      filterable: true,
      overHidden: true,
      hide: true,
      span: 24,
    },
  ]
}
